package com.itheima.prize.commons.db.service;

import com.itheima.prize.commons.db.entity.CardUser;
import com.itheima.prize.commons.db.entity.ViewCardUserHit;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.prize.commons.utils.ApiResult;
import com.itheima.prize.commons.utils.PageBean;

import javax.servlet.http.HttpServletRequest;

/**
* @author shawn
* @description 针对表【view_card_user_hit】的数据库操作Service
* @createDate 2023-12-26 11:58:48
*/
public interface ViewCardUserHitService extends IService<ViewCardUserHit> {
    /**
     *
     * 用户信息
     */
    ApiResult userInfo(Integer id);


    /**
     * 我的奖品
     */
    ApiResult productsInfo(int gameid, int curpage, int limit,HttpServletRequest request);


    /**
     * 获取中奖列表
     * @param gameid
     * @param curpage
     * @param limit
     */
    ApiResult<PageBean<ViewCardUserHit>> getListInfo(int gameid, int curpage, int limit);
}
